package com.zhny.aiot.rtu.no.dir.plugin.model;

import com.zhny.aiot.plugin.ActionValue;
import com.zhny.aiot.plugin.PropertyValue;
import com.zhny.aiot.plugin.model.*;
import lombok.Data;

@Data
public class RTUNODIRStoreEntry extends StoreEntity {

    @PropertyValue(alias = "设备状态",description = "设备状态",unit = "",icon=IconConstract.Other,variableType=VariableType.OpenClose,actions={
            @ActionValue(name=Operate.Open,commandCode="open",eventType=EventType.Click),
            @ActionValue(name=Operate.Close,commandCode="close",eventType=EventType.Click),
            @ActionValue(name=Operate.Query,commandCode="query",eventType=EventType.Click)
    })
    private String status;
}
